package com.zw.admin.server.model;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.sql.Timestamp;

@Data
@Table(name = "bsn_guard_event")
public class Guard {

    @Column(name = "eventId")
    public String eventId;

    @Column(name = "eventTime")
    public Timestamp eventTime;

    @Column(name = "personId")
    public String personId;

    @Column(name = "cardNo")
    public String cardNo;

    @Column(name = "personName")
    public String personName;

    @Column(name = "orgIndexCode")
    public String orgIndexCode;

    @Column(name = "orgName")
    public String orgName;

    @Column(name = "doorName")
    public String doorName;

    @Column(name = "doorIndexCode")
    public String doorIndexCode;

    @Column(name = "doorRegionIndexCode")
    public String doorRegionIndexCode;

    @Column(name = "jobNo")
    public String jobNo;

    @Column(name = "svrIndexCode")
    public String svrIndexCode;
    @Column(name = "eventType")
    public String eventType;
    @Column(name = "inAndOutType")
    public String inAndOutType;
    @Column(name = "readerDevIndexCode")
    public String readerDevIndexCode;
    @Column(name = "readerDevName")
    public String readerDevName;
    @Column(name = "devIndexCode")
    public String devIndexCode;
    @Column(name = "devName")
    public String devName;
    @Column(name = "identityCardUri")
    public String identityCardUri;
    @Column(name = "receiveTime")
    public Timestamp receiveTime;
    @Column(name = "studentId")
    public String studentId;
    @Column(name = "certNo")
    public String certNo;

    @Column(name = "isDelay")
    public int isDelay;

    @Column(name = "isEarlyExit")
    public int isEarlyExit;

}
